package com.pinyoumei.app.bean;

import java.math.BigDecimal;
import java.util.List;

/**
 * Created by Administrator on 2021-09-08.
 * --------- 日期 ------- 维护人 ------------ 变更内容 --------
 * 2021-09-08        Administrator             新增Person类
 * 2021-09-08        Administrator             增加sex属性
 */
public class ToDayPtBean {

    /**
     * code : 1
     * errors : {}
     * msg : 操作成功
     * result : {"total_num":30,"spelled_time":0,"left_spell_time":30,"user_group_coupon":10,"spelled_out_time":0,"order_list":[{"order_no":"202109031140391630640439176","goods_name":"溪谷珍香米2.5kg","goods_price":99.98,"spell_open_time":"2021-09-03 16:00:00","spelled_time":"","goods_num":1,"id":"454d090e4f504f69aaa669b47739e5cc","order_time":"2021-09-03 11:40:39","goods_img":"https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1630319945642.jpg"}],"spelled_in_time":0}
     */

    private int code;
    private ErrorsBean errors;
    private String msg;
    private ResultBean result;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public ErrorsBean getErrors() {
        return errors;
    }

    public void setErrors(ErrorsBean errors) {
        this.errors = errors;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public static class ErrorsBean {
    }

    public static class ResultBean {
        /**
         * total_num : 30
         * spelled_time : 0
         * left_spell_time : 30
         * user_group_coupon : 10
         * spelled_out_time : 0
         * order_list : [{"order_no":"202109031140391630640439176","goods_name":"溪谷珍香米2.5kg","goods_price":99.98,"spell_open_time":"2021-09-03 16:00:00","spelled_time":"","goods_num":1,"id":"454d090e4f504f69aaa669b47739e5cc","order_time":"2021-09-03 11:40:39","goods_img":"https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1630319945642.jpg"}]
         * spelled_in_time : 0
         */

        private int is_open_continue_spell;
        private int total_num;
        private int spelled_time;
        private int left_spell_time;
        private int user_group_coupon;
        private int spelled_out_time;
        private int spelled_in_time;
        private List<OrderListBean> order_list;

        public int getIs_open_continue_spell() {
            return is_open_continue_spell;
        }

        public void setIs_open_continue_spell(int is_open_continue_spell) {
            this.is_open_continue_spell = is_open_continue_spell;
        }

        public int getTotal_num() {
            return total_num;
        }

        public void setTotal_num(int total_num) {
            this.total_num = total_num;
        }

        public int getSpelled_time() {
            return spelled_time;
        }

        public void setSpelled_time(int spelled_time) {
            this.spelled_time = spelled_time;
        }

        public int getLeft_spell_time() {
            return left_spell_time;
        }

        public void setLeft_spell_time(int left_spell_time) {
            this.left_spell_time = left_spell_time;
        }

        public int getUser_group_coupon() {
            return user_group_coupon;
        }

        public void setUser_group_coupon(int user_group_coupon) {
            this.user_group_coupon = user_group_coupon;
        }

        public int getSpelled_out_time() {
            return spelled_out_time;
        }

        public void setSpelled_out_time(int spelled_out_time) {
            this.spelled_out_time = spelled_out_time;
        }

        public int getSpelled_in_time() {
            return spelled_in_time;
        }

        public void setSpelled_in_time(int spelled_in_time) {
            this.spelled_in_time = spelled_in_time;
        }

        public List<OrderListBean> getOrder_list() {
            return order_list;
        }

        public void setOrder_list(List<OrderListBean> order_list) {
            this.order_list = order_list;
        }

        public static class OrderListBean {
            /**
             * order_no : 202109031140391630640439176
             * goods_name : 溪谷珍香米2.5kg
             * goods_price : 99.98
             * spell_open_time : 2021-09-03 16:00:00
             * spelled_time :
             * goods_num : 1
             * id : 454d090e4f504f69aaa669b47739e5cc
             * order_time : 2021-09-03 11:40:39
             * goods_img : https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1630319945642.jpg
             */

            private String order_no;
            private String goods_name;
            private BigDecimal goods_price;
            private String spell_open_time;
            private String spelled_time;
            private int goods_num;
            private String id;
            private String order_time;
            private String goods_img;

            public String getOrder_no() {
                return order_no;
            }

            public void setOrder_no(String order_no) {
                this.order_no = order_no;
            }

            public String getGoods_name() {
                return goods_name;
            }

            public void setGoods_name(String goods_name) {
                this.goods_name = goods_name;
            }

            public BigDecimal getGoods_price() {
                return goods_price;
            }

            public void setGoods_price(BigDecimal goods_price) {
                this.goods_price = goods_price;
            }

            public String getSpell_open_time() {
                return spell_open_time;
            }

            public void setSpell_open_time(String spell_open_time) {
                this.spell_open_time = spell_open_time;
            }

            public String getSpelled_time() {
                return spelled_time;
            }

            public void setSpelled_time(String spelled_time) {
                this.spelled_time = spelled_time;
            }

            public int getGoods_num() {
                return goods_num;
            }

            public void setGoods_num(int goods_num) {
                this.goods_num = goods_num;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getOrder_time() {
                return order_time;
            }

            public void setOrder_time(String order_time) {
                this.order_time = order_time;
            }

            public String getGoods_img() {
                return goods_img;
            }

            public void setGoods_img(String goods_img) {
                this.goods_img = goods_img;
            }
        }
    }
}
